from redis import StrictRedis


try:
    sr = StrictRedis(host='121.36.39.157', port=10003)
    result = sr.set('name', 'sn')
    print(result)
    print(sr.get('name'))
    sr.delete('name')
except Exception as e:
    print(e)

